package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

// 焦炭结算列表查询条件
@Data
public class Finance7List3Param {

  @ApiModelProperty(value = "合同号")
  private String contractNumber;

  @ApiModelProperty("物料ID")
  private Integer materialId;

  @ApiModelProperty(value = "发货开始日期", required = true)
  @NotNull(message = "发货开始日期不允许为空")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate startDate;

  @ApiModelProperty(value = "发货结束日期", required = true)
  @NotNull(message = "发货开始日期不允许为空")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate endDate;

}
